package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ UmsMemberCollectSubjectModel = (*customUmsMemberCollectSubjectModel)(nil)

type (
	// UmsMemberCollectSubjectModel is an interface to be customized, add more methods here,
	// and implement the added methods in customUmsMemberCollectSubjectModel.
	UmsMemberCollectSubjectModel interface {
		umsMemberCollectSubjectModel
	}

	customUmsMemberCollectSubjectModel struct {
		*defaultUmsMemberCollectSubjectModel
	}
)

// NewUmsMemberCollectSubjectModel returns a model for the database table.
func NewUmsMemberCollectSubjectModel(conn sqlx.SqlConn) UmsMemberCollectSubjectModel {
	return &customUmsMemberCollectSubjectModel{
		defaultUmsMemberCollectSubjectModel: newUmsMemberCollectSubjectModel(conn),
	}
}
